Carbon


PBHOpenRFDenyAsync

Header: Files.h Carbon status: Supported

Opens a file’s resource fork using the access deny modes.

OSErr PBHOpenRFDenyAsync (
    HParmBlkPtr paramBlock
);
paramBlock

A pointer to a basic HFS parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

The result code opWrErr is returned if you’ve requested write permission and you have already opened the file for writing; in that case, the existing file reference number is returned in ioRefNum. You should not use this reference number unless your application originally opened the file.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)